﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;

namespace ComClassLibrary
{

        public enum Language
        {
            [Description("en-US")]
            en,
            [Description("zh-CN")]
            zh,
            [Description("ko-KR")]
            ko,
            [Description("ar-SA")]
            ar,
            [Description("fr-FR")]
            fr
        }

    public class LanguageCommon
    {
        public static string GetLanguageCode(Language e)
        {
            return Tools.GetEnumDesc(e);
        }
    }

}
